package com.xbongbong.saas.script.tempenum;

import com.xbongbong.saas.enums.business.ProductSerialBalanceEnum;
import lombok.Getter;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @author long.rao
 * @version v1.0
 * @date 2019/1/17 19:35
 * @since v1.0
 */
@Getter
public enum TempProductSerialBalanceEnum {

    //
    SERIALNO(ProductSerialBalanceEnum.SERIALNO),
    NAME(ProductSerialBalanceEnum.NAME),
    SPECIFICATION(ProductSerialBalanceEnum.SPECIFICATION),
    SEQ(ProductSerialBalanceEnum.SEQ),
    MEMO(ProductSerialBalanceEnum.MEMO),
    STATUS(ProductSerialBalanceEnum.STATUS),
    WAREHOUSE_ID(ProductSerialBalanceEnum.WAREHOUSE_ID),
    TIME(ProductSerialBalanceEnum.TIME),
    SHEET_NO(ProductSerialBalanceEnum.SHEET_NO),
    BUSINESS_TYPE(ProductSerialBalanceEnum.BUSINESS_TYPE),
    BUSINESS_ID(ProductSerialBalanceEnum.BUSINESS_ID),
    ;

    private ProductSerialBalanceEnum anEnum;

    TempProductSerialBalanceEnum(ProductSerialBalanceEnum anEnum) {
        this.anEnum = anEnum;
    }

    public static List<TempProductSerialBalanceEnum> getAllEnum() {
        List<TempProductSerialBalanceEnum> list = new ArrayList<>();
        Collections.addAll(list, values());
        return list;
    }
}
